package cn.hp.mapper;

import cn.hp.entity.Department;

import java.util.List;

public interface DepartmentMapper {
    /**
     * 查询所有科室
     * @param department
     * @return
     */
    List<Department> selectDepartment(Department department);
    /**
     * 新增科室
     * @param department
     * @return
     */
    int insertDepartment(Department department);
    /**
     * 修改课时
     * @param department
     * @return
     */
    int updateDepartment(Department department);
    /**
     * 删除科室
     * @param id
     * @return
     */
    int deleteDepartmentById(Integer id);
}
